import request from '../../utils/request';

export const editionlist = query => {
    return request({
        url: '/api/version/server/doMain',
        method: 'post',
        // url: './json/editionlist.json',
        // method: 'get',
        params: query,
    });
};
//启用
export const doStart = query => {
    return request({
        url: '/api/version/server/doEnable',
        method:'post',
        // url:'./json/addORupdatepatient.json',
        // method: 'get',
        params: query
    });
};
//停用
export const doEnd = query => {
    return request({
        url: '/api/version/server/doDisable',
        method:'post',
        // url:'./json/addORupdatepatient.json',
        // method: 'get',
        params: query
    });
};

